// module.exports = file => () => import("@/views" + file);
export const loadView = view => {
  return resolve => require([`@/views/${view}`], resolve);
};
